package com.ccdc.cbpc.bigdata.base.service;

import java.util.List;

/**
 * 服务层基类接口，定义基本的增删改查功能.
 */
public interface BaseService<T> {
    T getByKey(Object key);

    public List<T> selectAll();

    int save(T entity);

    int delete(Object key);

    int update(T entity);

    List<T> selectByExample(Object example);
}